Optimal. Leaf size=139 \[ -\frac{681 \sqrt{3 x^2+5 x+2}}{250 (2 x+3)}-\frac{41 \sqrt{3 x^2+5 x+2}}{24 (2 x+3)^2}-\frac{86 \sqrt{3 x^2+5 x+2}}{75 (2 x+3)^3}-\frac{13 \sqrt{3 x^2+5 x+2}}{20 (2 x+3)^4}+\frac{5771 \tanh ^{-1}\left (\frac{8 x+7}{2 \sqrt{5} \sqrt{3 x^2+5 x+2}}\right )}{2000 \sqrt{5}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0972799, antiderivative size = 139, normalized size of antiderivative = 1., number of steps used = 6, number of rules used = 4, integrand size = 27, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.148, Rules used = {834, 806, 724, 206} \[ -\frac{681 \sqrt{3 x^2+5 x+2}}{250 (2 x+3)}-\frac{41 \sqrt{3 x^2+5 x+2}}{24 (2 x+3)^2}-\frac{86 \sqrt{3 x^2+5 x+2}}{75 (2 x+3)^3}-\frac{13 \sqrt{3 x^2+5 x+2}}{20 (2 x+3)^4}+\frac{5771 \tanh ^{-1}\left (\frac{8 x+7}{2 \sqrt{5} \sqrt{3 x^2+5 x+2}}\right )}{2000 \sqrt{5}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 834
Rule 806
Rule 724
Rule 206
Rubi steps
\begin{align*} \int \frac{5-x}{(3+2 x)^5 \sqrt{2+5 x+3 x^2}} \, dx &=-\frac{13 \sqrt{2+5 x+3 x^2}}{20 (3+2 x)^4}-\frac{1}{20} \int \frac{\frac{7}{2}+117 x}{(3+2 x)^4 \sqrt{2+5 x+3 x^2}} \, dx\\ &=-\frac{13 \sqrt{2+5 x+3 x^2}}{20 (3+2 x)^4}-\frac{86 \sqrt{2+5 x+3 x^2}}{75 (3+2 x)^3}+\frac{1}{300} \int \frac{-\frac{1067}{2}-2064 x}{(3+2 x)^3 \sqrt{2+5 x+3 x^2}} \, dx\\ &=-\frac{13 \sqrt{2+5 x+3 x^2}}{20 (3+2 x)^4}-\frac{86 \sqrt{2+5 x+3 x^2}}{75 (3+2 x)^3}-\frac{41 \sqrt{2+5 x+3 x^2}}{24 (3+2 x)^2}-\frac{\int \frac{\frac{5265}{2}+15375 x}{(3+2 x)^2 \sqrt{2+5 x+3 x^2}} \, dx}{3000}\\ &=-\frac{13 \sqrt{2+5 x+3 x^2}}{20 (3+2 x)^4}-\frac{86 \sqrt{2+5 x+3 x^2}}{75 (3+2 x)^3}-\frac{41 \sqrt{2+5 x+3 x^2}}{24 (3+2 x)^2}-\frac{681 \sqrt{2+5 x+3 x^2}}{250 (3+2 x)}+\frac{5771 \int \frac{1}{(3+2 x) \sqrt{2+5 x+3 x^2}} \, dx}{2000}\\ &=-\frac{13 \sqrt{2+5 x+3 x^2}}{20 (3+2 x)^4}-\frac{86 \sqrt{2+5 x+3 x^2}}{75 (3+2 x)^3}-\frac{41 \sqrt{2+5 x+3 x^2}}{24 (3+2 x)^2}-\frac{681 \sqrt{2+5 x+3 x^2}}{250 (3+2 x)}-\frac{5771 \operatorname{Subst}\left (\int \frac{1}{20-x^2} \, dx,x,\frac{-7-8 x}{\sqrt{2+5 x+3 x^2}}\right )}{1000}\\ &=-\frac{13 \sqrt{2+5 x+3 x^2}}{20 (3+2 x)^4}-\frac{86 \sqrt{2+5 x+3 x^2}}{75 (3+2 x)^3}-\frac{41 \sqrt{2+5 x+3 x^2}}{24 (3+2 x)^2}-\frac{681 \sqrt{2+5 x+3 x^2}}{250 (3+2 x)}+\frac{5771 \tanh ^{-1}\left (\frac{7+8 x}{2 \sqrt{5} \sqrt{2+5 x+3 x^2}}\right )}{2000 \sqrt{5}}\\ \end{align*}
Mathematica [A] time = 0.0571851, size = 79, normalized size = 0.57 \[ \frac{-\frac{10 \sqrt{3 x^2+5 x+2} \left (65376 x^3+314692 x^2+509668 x+279039\right )}{(2 x+3)^4}-17313 \sqrt{5} \tanh ^{-1}\left (\frac{-8 x-7}{2 \sqrt{5} \sqrt{3 x^2+5 x+2}}\right )}{30000} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.012, size = 116, normalized size = 0.8 \begin{align*} -{\frac{13}{320}\sqrt{3\, \left ( x+3/2 \right ) ^{2}-4\,x-{\frac{19}{4}}} \left ( x+{\frac{3}{2}} \right ) ^{-4}}-{\frac{43}{300}\sqrt{3\, \left ( x+3/2 \right ) ^{2}-4\,x-{\frac{19}{4}}} \left ( x+{\frac{3}{2}} \right ) ^{-3}}-{\frac{41}{96}\sqrt{3\, \left ( x+3/2 \right ) ^{2}-4\,x-{\frac{19}{4}}} \left ( x+{\frac{3}{2}} \right ) ^{-2}}-{\frac{681}{500}\sqrt{3\, \left ( x+3/2 \right ) ^{2}-4\,x-{\frac{19}{4}}} \left ( x+{\frac{3}{2}} \right ) ^{-1}}-{\frac{5771\,\sqrt{5}}{10000}{\it Artanh} \left ({\frac{2\,\sqrt{5}}{5} \left ( -{\frac{7}{2}}-4\,x \right ){\frac{1}{\sqrt{12\, \left ( x+3/2 \right ) ^{2}-16\,x-19}}}} \right ) } \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A] time = 1.65185, size = 212, normalized size = 1.53 \begin{align*} -\frac{5771}{10000} \, \sqrt{5} \log \left (\frac{\sqrt{5} \sqrt{3 \, x^{2} + 5 \, x + 2}}{{\left | 2 \, x + 3 \right |}} + \frac{5}{2 \,{\left | 2 \, x + 3 \right |}} - 2\right ) - \frac{13 \, \sqrt{3 \, x^{2} + 5 \, x + 2}}{20 \,{\left (16 \, x^{4} + 96 \, x^{3} + 216 \, x^{2} + 216 \, x + 81\right )}} - \frac{86 \, \sqrt{3 \, x^{2} + 5 \, x + 2}}{75 \,{\left (8 \, x^{3} + 36 \, x^{2} + 54 \, x + 27\right )}} - \frac{41 \, \sqrt{3 \, x^{2} + 5 \, x + 2}}{24 \,{\left (4 \, x^{2} + 12 \, x + 9\right )}} - \frac{681 \, \sqrt{3 \, x^{2} + 5 \, x + 2}}{250 \,{\left (2 \, x + 3\right )}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 1.92231, size = 365, normalized size = 2.63 \begin{align*} \frac{17313 \, \sqrt{5}{\left (16 \, x^{4} + 96 \, x^{3} + 216 \, x^{2} + 216 \, x + 81\right )} \log \left (\frac{4 \, \sqrt{5} \sqrt{3 \, x^{2} + 5 \, x + 2}{\left (8 \, x + 7\right )} + 124 \, x^{2} + 212 \, x + 89}{4 \, x^{2} + 12 \, x + 9}\right ) - 20 \,{\left (65376 \, x^{3} + 314692 \, x^{2} + 509668 \, x + 279039\right )} \sqrt{3 \, x^{2} + 5 \, x + 2}}{60000 \,{\left (16 \, x^{4} + 96 \, x^{3} + 216 \, x^{2} + 216 \, x + 81\right )}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F] time = 0., size = 0, normalized size = 0. \begin{align*} - \int \frac{x}{32 x^{5} \sqrt{3 x^{2} + 5 x + 2} + 240 x^{4} \sqrt{3 x^{2} + 5 x + 2} + 720 x^{3} \sqrt{3 x^{2} + 5 x + 2} + 1080 x^{2} \sqrt{3 x^{2} + 5 x + 2} + 810 x \sqrt{3 x^{2} + 5 x + 2} + 243 \sqrt{3 x^{2} + 5 x + 2}}\, dx - \int - \frac{5}{32 x^{5} \sqrt{3 x^{2} + 5 x + 2} + 240 x^{4} \sqrt{3 x^{2} + 5 x + 2} + 720 x^{3} \sqrt{3 x^{2} + 5 x + 2} + 1080 x^{2} \sqrt{3 x^{2} + 5 x + 2} + 810 x \sqrt{3 x^{2} + 5 x + 2} + 243 \sqrt{3 x^{2} + 5 x + 2}}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int -\frac{x - 5}{\sqrt{3 \, x^{2} + 5 \, x + 2}{\left (2 \, x + 3\right )}^{5}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]